import java.util.Date;

// Feedback.java 实体类
public class Feedback {
    private String name;
    private String email;
    private String feedbackType;
    private String message;
    private Date createTime;

    // 无参构造方法
    public Feedback() {
    }

    // 全参构造方法
    public Feedback(String name, String email, String feedbackType, String message, Date createTime) {
        this.name = name;
        this.email = email;
        this.feedbackType = feedbackType;
        this.message = message;
        this.createTime = createTime;
    }

    // Getter 和 Setter 方法

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFeedbackType() {
        return feedbackType;
    }

    public void setFeedbackType(String feedbackType) {
        this.feedbackType = feedbackType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    // 重写 toString 方法
    @Override
    public String toString() {
        return "Feedback{" +
                "name='" + name + '\'' +
                ", email='" + email + '\'' +
                ", feedbackType='" + feedbackType + '\'' +
                ", message='" + message + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
